
<HTML>


<HEAD>
<TITLE>
Second Test of Section 1.6 of CSS1 Spec
</TITLE>


<STYLE TYPE="text/css">
P EM {color: blue}
.test EM {color: silver}
#id1 EM {color: yellow}
P.class1 EM {color:lime}
H2 EM, H3 EM {color: aqua}
</STYLE>
		
</HEAD>


<BODY>

<h1 >Testing Statement #2 Below of Section 1.6 of CSS1 Spec</h1>



<ul>
<li >
2. Contextual selectors can look for element types, CLASS attributes, ID
attributes, or combinations of these; several contextual selectors can be
grouped together.
</ul>






<h2 >"PASS" CRITERIA</h2>
<p>
If statement #2 above is passed, then:
<p>
This paragraph should be UA-default.  The word <em>important</em>,
however, should be blue.  The rule applied is "P EM {color: blue}".
Looking for element types here.
<p class=test>
This paragraph should be UA-default. The word <em>important</em> in this
paragraph should be silver.  The rule applied is ".test EM {color: silver}".
All other properties are UA-default.
Looking for class here.
<p ID=id1>
This paragraph should be UA-default.  The word <em>important</em>
here should be yellow.  The rule applied here is "#id1 EM {color: yellow}".
Looking for id here.

<p class=class1>
This paragraph should be silver.  The word <em>important</em> should
be lime.  The rule applied here is "P.class1 EM {color: silver]".
All other properties should be UA-default.
Looking for combination of element and class here.
<h2>The word <em>great</em> in this h2 heading should be aqua (everything
else UA-default; rule applied is "h2 em, h3 em {color: aqua}")
</h2>
<h3>The word <em>small</em> in this h3 heading should be aqua (see above, to
show combination of contextual selectors)
</h3>
To move directly to the next test, click<a href="16-3.htm"> here</a>
</BODY>
</HTML>
